body {
  margin: 0;
}

.dialog {
  width: 400px;
  height: 300px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.46);
  border: 1px solid #ccc;
  position: fixed;
  left: 30px;
  top: 30px;
}

.dialog-title {
  height: 40px;
  background: #f6f6f6;
  line-height: 40px;
  padding-left: 20px;
  color: #555;
  cursor: move;
  user-select: none;
}

.dialog-close {
  float: right;
  font-size: 22px;
  cursor: pointer;
  padding: 0 20px 5px;
  transition: background 0.2s;
  font-family: 'Segoe UI';
  line-height: 35px;
}

.dialog-close:hover {
  background-color: #e81123;
  color: #fff;
}